package org.dromara.bean.domain.bo;

import org.dromara.bean.domain.HisHospital;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

/**
 * 医院业务对象 his_hospital
 *
 * @author Lion Li
 * @date 2024-10-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HisHospital.class, reverseConvertGenerate = false)
public class HisHospitalBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 介绍
     */
//    @NotBlank(message = "介绍不能为空", groups = { AddGroup.class, EditGroup.class })
    private String intro;

    /**
     * 头像
     */
    @NotBlank(message = "头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String photo;

    /**
     * 医院地址
     */
    @NotBlank(message = "医院地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    private String tenantId;
    private String longitude;
    private String latitude;
    private String overview; //医院概况图
    private String backgroundImage; //背景图
    private String banner;

    private String about;
    private String service;
    private String privacy;
}
